<i-button href="javascript:void(0);" data-options="iconCls:'eova-icon733',plain:true" onclick="single_update()" type="warning">${button.name!'修改'}</i-button>
<script type="text/javascript">
    var single_update = function () {
    	var $grid = $('#grid');
        if (isSelected($grid)) {
	        var row = $.getWidgetSelected($grid);
            loadDialog($grid, '${I18N('修改')} ${object.name}', '/form/update/${object.code}-' + row.pk_val, ${menu.config.params.width!'945'}, ${menu.config.params.height!'600'});
        }
    };
</script>